package com.first_javaee.entity;

public class TimeTable {
    private String courseName;
    private String teacherName;
    private String classRoom;
    private String week;
    private int start;
    private int length;

    //生成一门课的记录

    public TimeTable() {
    }

    public TimeTable(String courseName, String teacherName, String classRoom, String week, int start, int length) {
        this.courseName = courseName;
        this.teacherName = teacherName;
        this.classRoom = classRoom;
        this.week = week;
        this.start = start;
        this.length = length;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getClassRoom() {
        return classRoom;
    }

    public void setClassRoom(String classRoom) {
        this.classRoom = classRoom;
    }

    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    @Override
    public String toString() {
        return "TimeTable{" +
                "courseName='" + courseName + '\'' +
                ", teacherName='" + teacherName + '\'' +
                ", classRoom='" + classRoom + '\'' +
                ", week='" + week + '\'' +
                ", start=" + start +
                ", length=" + length +
                '}';
    }
}
